describe('practice-2-6', function () {

    it("根据里程碑的数据的特征和经过的时间求车速", function () {
        var result = seek_speed();
        var str_symmetry = (result.symmetry).toString();
        expect(str_symmetry[0]).toBe(str_symmetry[4]);
        expect(str_symmetry[1]).toBe(str_symmetry[3]);
        expect(str_symmetry[3] != '8').toBe(true);
        expect(result.symmetry > 95859).toBe(true);
        expect(parseInt((result.symmetry-95859)/2.0)).toBe(parseInt(result.speed));
        expect(result.symmetry).toBe(95959);
        expect((result.speed).toFixed(2)).toBe('50.00');
    });

});